# -*- coding: utf-8 -*-
# !/usr/bin/env python
from pydantic import BaseModel
from fastapi import APIRouter
from starlette.responses import HTMLResponse
from starlette.requests import Request
from starlette.templating import Jinja2Templates
from starlette.responses import FileResponse
from starlette.staticfiles import StaticFiles

router = APIRouter()
templates = Jinja2Templates(directory="./templates")
router.mount("/static", StaticFiles(directory="./static"), name="static")

@router.get('/')
def index(request: Request):
    return templates.TemplateResponse('./users/index.html', {'request': request})
